package com.redhipps.hips.client.model;

import java.io.Serializable;

public class Key implements Serializable {

  private String value;

  public Key(String value) {
    this.value = value;
  }

  public String getValue() {
    return value;
  }

  @Override
  public int hashCode() {
    return value.hashCode();
  }

  @Override
  public boolean equals(Object o) {
    if (!(o instanceof Key)) {
      return false;
    }
    return value.equals(((Key) o).value);
  }
}
